package com.c2.service;

import com.c2.entity.EbProduct;

import java.util.List;

/**
 * @author Stars Lee
 * @date 2020/9/16 - 11:24
 */
public interface ProductService {

    List<EbProduct> listByPage(Integer page, Integer pageSize);

    List<EbProduct> likeByPage(String epName,Integer likePage,Integer likePageSize);

    Integer findLikeMaxPage(String epName,Integer likePageSize);

    Integer findMaxPage(Integer pageSize);

    Integer toSaveProduct(EbProduct ebProduct);

    List<EbProduct> selectByCondition(Integer enId);

    Integer toUpdateById(EbProduct ebProduct);

    Integer toDeleteProduct(Integer enId);
}
